cmake_minimum_required(VERSION 3.12)
project(zhngdi)
set(CMAKE_BUILD_TYPE release)
add_library(${CMAKE_PROJECT_NAME}_lib STATIC zhngdi.cpp)
target_link_libraries(${CMAKE_PROJECT_NAME}_lib PUBLIC gdiplus.lib)
#add_executable(${CMAKE_PROJECT_NAME}_exe main.cpp zhngdi.cpp)
#target_link_libraries(${CMAKE_PROJECT_NAME}_exe PUBLIC gdiplus.lib)
